package com.zhongying.jf.constant;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author 周 浩
 * @email zhou_eric90@163.com
 * @date 2018年4月4日 下午5:32:57
 * @描述
 */
public class AccountTypeConstants {

	public static final Map<String, String> ACCOUNT_TYPE_MAP = new HashMap<>();
	static {
		ACCOUNT_TYPE_MAP.put("2001", "充值");
		ACCOUNT_TYPE_MAP.put("200101", "充值佣金");
		ACCOUNT_TYPE_MAP.put("200102", "充值手续费");
		ACCOUNT_TYPE_MAP.put("200301", "提现冻结");
		ACCOUNT_TYPE_MAP.put("200302", "提现解冻");
		ACCOUNT_TYPE_MAP.put("200303", "提现扣除");
		ACCOUNT_TYPE_MAP.put("200304", "提现手续费");
		ACCOUNT_TYPE_MAP.put("200305", "提现手续费回退");
		ACCOUNT_TYPE_MAP.put("200306", "提现佣金");
		ACCOUNT_TYPE_MAP.put("200307", "待提现金额");
		ACCOUNT_TYPE_MAP.put("200308", "待提现手续费金额");
		ACCOUNT_TYPE_MAP.put("3013", "资金冻结");
		ACCOUNT_TYPE_MAP.put("3014", "资金解冻");
		ACCOUNT_TYPE_MAP.put("30031", "投标冻结");
		ACCOUNT_TYPE_MAP.put("300600", "投标解冻");
		ACCOUNT_TYPE_MAP.put("30032", "还款冻结");
		ACCOUNT_TYPE_MAP.put("300601", "还款解冻");
		ACCOUNT_TYPE_MAP.put("30033", "债权认购冻结");
		ACCOUNT_TYPE_MAP.put("300602", "债权认购解冻");
		ACCOUNT_TYPE_MAP.put("30034", "代偿冻结");
		ACCOUNT_TYPE_MAP.put("300603", "代偿解冻");
		ACCOUNT_TYPE_MAP.put("300604", "借款");
		ACCOUNT_TYPE_MAP.put("30060401", "借款冻结");
		ACCOUNT_TYPE_MAP.put("30060402", "借款解冻");
		ACCOUNT_TYPE_MAP.put("300605", "本金回款");
		ACCOUNT_TYPE_MAP.put("300606", "利息回款");
		ACCOUNT_TYPE_MAP.put("300607", "罚息退回");
		ACCOUNT_TYPE_MAP.put("300608", "还派息款");
		ACCOUNT_TYPE_MAP.put("300609", "贷后管理费");
		ACCOUNT_TYPE_MAP.put("300610", "罚息");
		ACCOUNT_TYPE_MAP.put("300611", "投标扣除");
		ACCOUNT_TYPE_MAP.put("300612", "还款扣除");
		ACCOUNT_TYPE_MAP.put("300613", "债权认购扣除");
		ACCOUNT_TYPE_MAP.put("300614", "代偿扣除");
		ACCOUNT_TYPE_MAP.put("300615", "分润");
		ACCOUNT_TYPE_MAP.put("300617", "平台服务费");
		ACCOUNT_TYPE_MAP.put("300624", "还代偿款");
		ACCOUNT_TYPE_MAP.put("300625", "派息");
		ACCOUNT_TYPE_MAP.put("300626", "代充值（此类型为平台账户记账使用）");
		ACCOUNT_TYPE_MAP.put("300627", "平台资金划拨");
		ACCOUNT_TYPE_MAP.put("30041", "取消投标冻结");
		ACCOUNT_TYPE_MAP.put("30042", "取消还款冻结");
		ACCOUNT_TYPE_MAP.put("30043", "取消债权认购冻结");
		ACCOUNT_TYPE_MAP.put("30044", "取消代偿冻结");
		ACCOUNT_TYPE_MAP.put("30101", "授权投标冻结");
		ACCOUNT_TYPE_MAP.put("30102", "授权还款冻结");
		ACCOUNT_TYPE_MAP.put("30103", "授权债权认购冻结");
		ACCOUNT_TYPE_MAP.put("30104", "授权代偿冻结");
		ACCOUNT_TYPE_MAP.put("300628", "平台调整");
		ACCOUNT_TYPE_MAP.put("300629", "银行调整");
		ACCOUNT_TYPE_MAP.put("300630", "履约保证金");
		ACCOUNT_TYPE_MAP.put("300631", "风险缓释金");
		ACCOUNT_TYPE_MAP.put("300632", "风险计提金");
		ACCOUNT_TYPE_MAP.put("300633", "存钱罐收益");
		ACCOUNT_TYPE_MAP.put("3006", "活动返现");
	}

	public static final List<String> ALL_TYPES = new ArrayList<>(ACCOUNT_TYPE_MAP.keySet());
	public static final List<String> SHOWED_TYPES = Arrays.asList(new String[] { "2001", "200101", "200102", "200301", "200302", "200303", "200304", "200305", "200306", "200307", "200308", "300605", "300606", "300633" });

}
